import platform

if platform.system() == 'Linux':
    libeventbin = 'libevent.so'
elif platform.system() == 'Darwin':
    libeventbin = 'libevent.dylib'
else:
    raise NotImplemented('Unknown platform')

if platform.architecture()[0] == '32bit':
    arch_dir = 'ctypes_x86_32'
elif platform.architecture()[0] == '64bit':
    arch_dir = 'ctypes_x86_64'
else:
    raise NotImplemented('Unknown architecture')
